<?php
class Menu_News_Item
{
    public function doit()
    { 
                $Result = array('type'=>'links', 'items' => array( )  );
                                                                                                 
                $News = new News();
                $newsList = $News->getList();                                                                                 
                                                                                                 
                foreach ($newsList as $Item )
                {
                    $Result['items'][] = array('title'=>$Item['Title'],'link'=>'news/view/id/' . $Item['ID'] );
                }
                return Zend_Json::encode($Result); 
    }
}